package com.tenement.mybatis.entity;

import java.io.Serializable;

public class Admin implements Serializable {

	private Integer aId;

	private String aAccount;

	private String aAname;

	private String aPassword;

	private Integer aIdentity;
	

	private static final long serialVersionUID = 1L;

	public Admin() {
		super();
	}

	public Admin(String aAccount, String aAname, Integer aIdentity) {
		super();
		this.aAccount = aAccount;
		this.aAname = aAname;
		this.aIdentity = aIdentity;
	}

	public Admin(String aAccount, String aPassword) {
		super();
		this.aAccount = aAccount;
		this.aPassword = aPassword;
	}
	
	public Integer getaId() {
		return aId;
	}

	public void setaId(Integer aId) {
		this.aId = aId;
	}

	public String getaAccount() {
		return aAccount;
	}

	public void setaAccount(String aAccount) {
		this.aAccount = aAccount;
	}

	public String getaAname() {
		return aAname;
	}

	public void setaAname(String aAname) {
		this.aAname = aAname == null ? null : aAname.trim();
	}

	public String getaPassword() {
		return aPassword;
	}

	public void setaPassword(String aPassword) {
		this.aPassword = aPassword == null ? null : aPassword.trim();
	}

	public Integer getaIdentity() {
		return aIdentity;
	}

	public void setaIdentity(Integer aIdentity) {
		this.aIdentity = aIdentity;
	}
}